﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TextEditorDP
{
    public class RichTextBoxWithBorderAndScroll: CRichTextBox
    {
        CRichTextBox richTextBox;

        public RichTextBoxWithBorderAndScroll(CRichTextBox rtb)
        {
            richTextBox = rtb;
            richTextBox.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
            richTextBox.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.Vertical;
        }

        public CRichTextBox GetRichTextBox()
        {
            return richTextBox;
        }
    }
}
